import java.util.Scanner;
public class FamilyAccount {
    public static void Des()
    {

    }
    public static void ShowMenu()
    {
        System.out.println("----------家庭收支记账软件----------");
        System.out.println("            1 收支明细");
        System.out.println("            2 登记收入");
        System.out.println("            3 登记支出");
        System.out.println("            4 退出");

    }
    public static void Add()
    {

    }
    public static void Show()
    {
        System.out.println("----------当前收支明细记录----------");
        System.out.println("收支\t 账户金额\t 收支金额\t 说明\t\n");
    }
    public static void main(String[] args)
    {
        int input;
        Scanner scan=new Scanner(System.in);
        do {
            ShowMenu();
            System.out.println("请输入你的选择:");
            input=scan.nextInt();
            switch(input)
            {
                case 1:
                    Show();
                    break;
                case 2:
                    Add();
                    break;
                case 3:
                    Des();
                    break;
                case 4:
                    System.out.println("退出成功！");
                    return;
                default:
                    System.out.println("输入错误，请重新输入！");
            }
        }while(true);

    }
}
